package com.xyp.mesadmin.log.mapper;

import com.xyp.mescommon.entity.log.Log;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface LogMapper {
    //插入
    void insertLog (Log log);
    //查询
    List<Log> selectAll (@Param("name") String name,@Param("startTime") Date startTime,@Param("endTime") Date endTime);
    //删除
    int deleteById (Integer id);
    //删除
    int deleteBatch (@Param("ids") List<Integer> ids);
}
